Working with static OLE objects

To insert a static OLE object

  1. Create a report using the sample data from Xtreme.mdb. Place any field in the Details section of the report.
  2. Click the Design tab.
  3. On the Insert menu, click Picture.

    Tip:     Another way to do this is to click the picture button on the Supplementary toolbar.

    The Open dialog box appears.

    Note:    Crystal Reports supports Bitmap, TIFF, JPEG, and PNG files.

  4. Select Xtreme.bmp from the \Program Files\Seagate Software\Crystal Reports\Samples\En\Databases directory.

    Note:    The location of the bitmap may vary depending on the destination specified during installation.

  5. Click Open.
  6. When the object frame appears, place the picture on the far left side of the Report Header section.
  7. Right-click the picture, and notice that the picture is identified as an OLE object on the shortcut menu.
  8. When you double-click the object, nothing happens. A static OLE object cannot be edited.

To convert a static OLE object to a bitmap image object

  1. Right-click the static OLE object you placed, and choose Convert Picture Object from the shortcut menu.

    The Convert dialog box appears.

  2. Select Paintbrush Picture in the Object Type list, and click OK.

    You have just converted a static OLE object to a modifiable OLE object.

  3. Right-click the object you have just converted.

    The second command from the bottom of the shortcut menu is now Bitmap Image Object, the same command that appeared for the first object you linked.

  4. Double-click the object.

    Microsoft Paint, or another graphics application installed on your machine opens, just as it did for the linked bitmap image object.

  5. Save the report as OLE.RPT.


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com